package com.spring.context;


import com.spring.core.metrics.ApplicationStartup;

import java.io.Closeable;

/**
 * @author liyuncong
 * @version 1.0
 * @file ConfigurableApplicationContext
 * @brief ConfigurableApplicationContext
 * @details ConfigurableApplicationContext
 * @date 2022-12-08
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                        NAME               DESCRIPTION
 * 2022-12-08                  liyuncong          Created
 */
public interface ConfigurableApplicationContext extends ApplicationContext, Lifecycle, Closeable {

    void setApplicationStartup(ApplicationStartup applicationStartup);

    ApplicationStartup getApplicationStartup();

    // TODO throw exception
    void refresh();
}
